<?php
/**
 * 二维码
 * @author
 *
 */
class PhpqrcodeAction extends HomeAction 
{
	public function _initialize()
	{
		parent::_initialize();
		include(VENDOR_PATH."phpqrcode/phpqrcode.php");
	}
    public function index()
    {
        $url=base64_decode($_REQUEST['url']);
       // $url="http://www.baidu.com";
        QRcode::png($url);
    }
}